import {BaseInput, BasePage} from "../../../../ts/type";
import {replace} from "../../../../ts/util";

export let columnCodeSaveInit = (page: BasePage) => {
    let saveModel = page.models.filter(m => 'save' == m.formKey)[0]

// field input auto
// #bind.field.fieldCode#
    saveModel.formInputs.push(replace(new BaseInput('属性编码', 'fieldCode'), {
        span: 12
    }))
// $bind.field.fieldCode$

// #bind.field.codeName#
    saveModel.formInputs.push(replace(new BaseInput('编码模板名称', 'codeName'), {
        span: 12
    }))
// $bind.field.codeName$


// field rule auto

}